package com.saikuo.service.service;

import com.saikuo.service.api.ApiResultModel;

/**
 * Created by shanchangyu on 16/10/14.
 */
public interface IOrderService {
    ApiResultModel createOrderInfo(int userId, String name, String mobile, String address, String comments, String orderDetail, Integer userCouponId, Double price, Double postage, String storeCode, int payWay);

    ApiResultModel updateOrderInfo(Long orderId, int status);

    ApiResultModel getOrderByOrderId(Long orderId);

    ApiResultModel cancelOrder(Long orderId);

    ApiResultModel getOrdersByUserId(int userId, int orderStatus, int page);

    ApiResultModel complainOrder(Long orderId, int userId, String phone, String content);

}
